/* Copyright (c) 2025 Beijing Semidrive Technology Corporation
 * SPDX-License-Identifier: Apache-2.0
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
/** *****************************************************************************************************
 * \file     Mcu_ResetSig.c                                                                               *
 * \brief    AUTOSAR 4.3.1 MCAL Mcu Driver                                                              *
 *                                                                                                      *
 * <table>                                                                                              *
 * <tr><th>Date           <th>Version                                                                   *
 * <tr><td>2024-07-23 13:37:57     <td>1.0.0                                                                *
 * </table>                                                                                             *
 *******************************************************************************************************/

#ifdef __cplusplus
extern "C" {
#endif

#include "Mcu_ResetSig.h"
#include "regs_base.h"

#define MCU_START_SEC_CONST_UNSPECIFIED
#include "Mcu_MemMap.h"
/* PRQA S 1533 EOF */
/* PRQA S 1531 EOF */
const Mcu_ResetSigType rstctl_glb =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)0U,
};

/* SAF core0 */
const Mcu_ResetSigType rstsig_cr52p0 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_CR52P0,
};

/* SAF core1 */
const Mcu_ResetSigType rstsig_cr52p1 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_CR52P1,
};

/* SAF core2 */
const Mcu_ResetSigType rstsig_cr52p2 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_CR52P2,
};

/* SAF core3 */
const Mcu_ResetSigType rstsig_cr52p3 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_CR52P3,
};

/* SAF core4 */
const Mcu_ResetSigType rstsig_cr5_se =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_CR5_SE,
};

/* LP core0 */
const Mcu_ResetSigType rstsig_cr5_lp =
{
    .base    = APB_RSTGEN_LP_BASE,
    .id      = (uint32)RSTSIG_LP_CR5_LP,
};

/**
 * @brief reset saf latent
 *
 * latent signals will reset automatically after power on.
 *
 */
const Mcu_ResetSigType rstsig_latent =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_LATENT,
};

/*
 * @brief reset saf mission
 *
 * reset saf mission signals will reset automatically after power on.
 *
 */
const Mcu_ResetSigType rstsig_saf_mission0 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_MISSION0,
};

const Mcu_ResetSigType rstsig_saf_mission1 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_MISSION1,
};

const Mcu_ResetSigType rstsig_saf_mission2 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_MISSION2,
};

const Mcu_ResetSigType rstsig_saf_mission3 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_MISSION3,
};

const Mcu_ResetSigType rstsig_saf_mission4 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_MISSION4,
};

const Mcu_ResetSigType rstsig_saf_mission5 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_MISSION5,
};

const Mcu_ResetSigType rstsig_saf_mission6 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_MISSION6,
};

const Mcu_ResetSigType rstsig_saf_mission7 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_MISSION7,
};

const Mcu_ResetSigType rstsig_saf_mission8 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_MISSION8,
};

const Mcu_ResetSigType rstsig_saf_mission9 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_MISSION9,
};


/* reset saf module */
const Mcu_ResetSigType rstsig_seip =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_SEIP,
};

const Mcu_ResetSigType rstsig_dma_sf1_rst0 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_DMA_SF1_RST0,
};

const Mcu_ResetSigType rstsig_dma_sf1_rst1 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_DMA_SF1_RST1,
};

const Mcu_ResetSigType rstsig_dma_sf2_rst0 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_DMA_SF2_RST0,
};

const Mcu_ResetSigType rstsig_dma_sf2_rst1 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_DMA_SF2_RST1,
};

const Mcu_ResetSigType rstsig_xspi1a =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_XSPI1A,
};

const Mcu_ResetSigType rstsig_xspi1b =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_XSPI1B,
};

const Mcu_ResetSigType rstsig_vic2 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_VIC2,
};

const Mcu_ResetSigType rstsig_mb =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_MB,
};

const Mcu_ResetSigType rstsig_epwm1 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_EPWM1,
};

const Mcu_ResetSigType rstsig_epwm2 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_EPWM2,
};

const Mcu_ResetSigType rstsig_epwm3 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_EPWM3,
};

const Mcu_ResetSigType rstsig_epwm4 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_EPWM4,
};

const Mcu_ResetSigType rstsig_etmr1 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_ETMR1,
};

const Mcu_ResetSigType rstsig_etmr2 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_ETMR2,
};

const Mcu_ResetSigType rstsig_etmr3 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_ETMR3,
};

const Mcu_ResetSigType rstsig_etmr4 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_ETMR4,
};

const Mcu_ResetSigType rstsig_ioc =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_IOC,
};

const Mcu_ResetSigType rstsig_dpe =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_DPE,
};

const Mcu_ResetSigType rstsig_xtrg1 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_XTRG1,
};

const Mcu_ResetSigType rstsig_xtrg2 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_XTRG2,
};

const Mcu_ResetSigType rstsig_enet1 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_ENET1,
};

const Mcu_ResetSigType rstsig_enet2 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_ENET2,
};

const Mcu_ResetSigType rstsig_sehc1 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_SEHC1,
};

const Mcu_ResetSigType rstsig_canfd3 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_CANFD3,
};

const Mcu_ResetSigType rstsig_canfd4 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_CANFD4,
};

const Mcu_ResetSigType rstsig_canfd5 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_CANFD5,
};

const Mcu_ResetSigType rstsig_canfd6 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_CANFD6,
};

const Mcu_ResetSigType rstsig_canfd7 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_CANFD7,
};

const Mcu_ResetSigType rstsig_canfd8 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_CANFD8,
};

const Mcu_ResetSigType rstsig_canfd9 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_CANFD9,
};

const Mcu_ResetSigType rstsig_canfd10 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_CANFD10,
};

const Mcu_ResetSigType rstsig_canfd11 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_CANFD11,
};
const Mcu_ResetSigType rstsig_canfd12 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_CANFD12,
};

const Mcu_ResetSigType rstsig_canfd13 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_CANFD13,
};

const Mcu_ResetSigType rstsig_canfd14 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_CANFD14,
};

const Mcu_ResetSigType rstsig_canfd15 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_CANFD15,
};

const Mcu_ResetSigType rstsig_canfd16 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_CANFD16,
};

const Mcu_ResetSigType rstsig_i2c2 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_I2C2,
};

const Mcu_ResetSigType rstsig_i2c3 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_I2C3,
};

const Mcu_ResetSigType rstsig_i2c4 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_I2C4,
};

const Mcu_ResetSigType rstsig_spi3 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_SPI3,
};

const Mcu_ResetSigType rstsig_spi4 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_SPI4,
};

const Mcu_ResetSigType rstsig_spi5 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_SPI5,
};

const Mcu_ResetSigType rstsig_spi6 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_SPI6,
};

const Mcu_ResetSigType rstsig_spi7 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_SPI7,
};

const Mcu_ResetSigType rstsig_spi8 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_SPI8,
};

const Mcu_ResetSigType rstsig_spi9 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_SPI9,
};

const Mcu_ResetSigType rstsig_spi10 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_SPI10,
};

const Mcu_ResetSigType rstsig_spi11 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_SPI11,
};

const Mcu_ResetSigType rstsig_spi12 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_SPI12,
};

const Mcu_ResetSigType rstsig_spi13 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_SPI13,
};

const Mcu_ResetSigType rstsig_spi14 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_SPI14,
};

const Mcu_ResetSigType rstsig_uart3 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_UART3,
};

const Mcu_ResetSigType rstsig_uart4 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_UART4,
};

const Mcu_ResetSigType rstsig_uart5 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_UART5,
};

const Mcu_ResetSigType rstsig_uart6 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_UART6,
};

const Mcu_ResetSigType rstsig_uart7 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_UART7,
};

const Mcu_ResetSigType rstsig_uart8 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_UART8,
};

const Mcu_ResetSigType rstsig_uart9 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_UART9,
};

const Mcu_ResetSigType rstsig_uart10 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_UART10,
};

const Mcu_ResetSigType rstsig_uart11 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_UART11,
};

const Mcu_ResetSigType rstsig_uart12 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_UART12,
};

const Mcu_ResetSigType rstsig_uart13 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_UART13,
};

const Mcu_ResetSigType rstsig_uart14 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_UART14,
};

const Mcu_ResetSigType rstsig_uart15 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_UART15,
};

const Mcu_ResetSigType rstsig_uart16 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_UART16,
};

const Mcu_ResetSigType rstsig_uart17 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_UART17,
};

const Mcu_ResetSigType rstsig_uart18 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_UART18,
};

const Mcu_ResetSigType rstsig_uart19 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_UART19,
};

const Mcu_ResetSigType rstsig_uart20 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_UART20,
};

const Mcu_ResetSigType rstsig_sent =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_SENT,
};

const Mcu_ResetSigType rstsig_adc1 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_ADC1,
};

const Mcu_ResetSigType rstsig_adc2 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_ADC2,
};

const Mcu_ResetSigType rstsig_adc3 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_ADC3,
};

const Mcu_ResetSigType rstsig_adc4 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_ADC4,
};

const Mcu_ResetSigType rstsig_adc5 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_ADC5,
};

const Mcu_ResetSigType rstsig_adc6 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_ADC6,
};

const Mcu_ResetSigType rstsig_saci1 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_SACI1,
};

const Mcu_ResetSigType rstsig_mram1 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_MRAM1,
};

const Mcu_ResetSigType rstsig_mram2 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_MRAM2,
};

const Mcu_ResetSigType rstsig_mram3 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_MRAM3,
};

const Mcu_ResetSigType rstsig_mram4 =
{
    .base    = APB_RSTGEN_SAFETY_BASE,
    .id      = (uint32)RSTSIG_SAF_MRAM4,
};

/*
 * @brief LP mission
 *
 * LP mission signals will reset automatically after power on.
 *
 */
const Mcu_ResetSigType rstsig_lp_mission0 =
{
    .base    = APB_RSTGEN_LP_BASE,
    .id      = (uint32)RSTSIG_LP_MISSION0,
};

const Mcu_ResetSigType rstsig_lp_mission1 =
{
    .base    = APB_RSTGEN_LP_BASE,
    .id      = (uint32)RSTSIG_LP_MISSION1,
};

const Mcu_ResetSigType rstsig_lp_mission2 =
{
    .base    = APB_RSTGEN_LP_BASE,
    .id      = (uint32)RSTSIG_LP_MISSION2,
};

const Mcu_ResetSigType rstsig_lp_mission4 =
{
    .base    = APB_RSTGEN_LP_BASE,
    .id      = (uint32)RSTSIG_LP_MISSION4,
};

/* reset LP module */
const Mcu_ResetSigType rstsig_canfd1 =
{
    .base    = APB_RSTGEN_LP_BASE,
    .id      = (uint32)RSTSIG_LP_CANFD1,
};

const Mcu_ResetSigType rstsig_canfd2 =
{
    .base    = APB_RSTGEN_LP_BASE,
    .id      = (uint32)RSTSIG_LP_CANFD2,
};

const Mcu_ResetSigType rstsig_i2c1 =
{
    .base    = APB_RSTGEN_LP_BASE,
    .id      = (uint32)RSTSIG_LP_I2C1,
};

const Mcu_ResetSigType rstsig_spi1 =
{
    .base    = APB_RSTGEN_LP_BASE,
    .id      = (uint32)RSTSIG_LP_SPI1,
};

const Mcu_ResetSigType rstsig_spi2 =
{
    .base    = APB_RSTGEN_LP_BASE,
    .id      = (uint32)RSTSIG_LP_SPI2,
};

const Mcu_ResetSigType rstsig_uart1 =
{
    .base    = APB_RSTGEN_LP_BASE,
    .id      = (uint32)RSTSIG_LP_UART1,
};

const Mcu_ResetSigType rstsig_uart2 =
{
    .base    = APB_RSTGEN_LP_BASE,
    .id      = (uint32)RSTSIG_LP_UART2,
};

const Mcu_ResetSigType rstsig_vic1 =
{
    .base    = APB_RSTGEN_LP_BASE,
    .id      = (uint32)RSTSIG_LP_VIC1,
};

const Mcu_ResetSigType rstsig_adc7 =
{
    .base    = APB_RSTGEN_LP_BASE,
    .id      = (uint32)RSTSIG_LP_ADC7,
};

const Mcu_ResetSigType rstsig_wes =
{
    .base    = APB_RSTGEN_LP_BASE,
    .id      = (uint32)RSTSIG_LP_WES,
};

const Mcu_ResetSigType rstsig_mram5 =
{
    .base    = APB_RSTGEN_LP_BASE,
    .id      = (uint32)RSTSIG_LP_MRAM5,
};

#define MCU_STOP_SEC_CONST_UNSPECIFIED
#include "Mcu_MemMap.h"

#ifdef __cplusplus
}
#endif
/* End of file */
